﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using MaxStudio.Concrete.DBUtility;
using MaxStudio.Concrete.Server.Dao;

namespace MaxStudio.Concrete.Server.Interface
{
    interface ITransport
    {
        OperationResult<List<tb_Transport>> GetAllTransport();
        OperationResult<List<tb_Transport>> GetTransportByTransportType(int transportType);
        OperationResult<List<tb_Transport>> GetTransportByReferId(int referId);
        OperationResult<List<tb_Transport>> GetTransportByReferId(int referId, int transportType);
        OperationResult<tb_Transport> GetTransportById(int id);
        OperationResult<tb_Transport> CreateTransport(tb_Transport entity);
        OperationResult<tb_Transport> ModifyTransport(tb_Transport entity);
        OperationResult<tb_Transport> DeleteTransport(tb_Transport entity);
    }
}